package com.vive.fragment;

import org.apache.wicket.MarkupContainer;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.list.Loop;
import org.apache.wicket.markup.html.list.LoopItem;
import org.apache.wicket.markup.html.panel.Fragment;

public class FragmentPage extends WebPage {
    public FragmentPage()
    {
    super();

        Loop loop = new Loop("list",5) {
            @Override
            protected void populateItem(LoopItem item) {
                String fragmentId = "fragment" + 1;
//                item.add(new Fragment("panel",fragmentId);
            }
        };
        add(loop);
    }


}
